import request from '@/utils/request'

//用人申请列表
export function pageList(data) {
    return request({
        url: '/usePersonApply/pageList',
        method: 'post',
        data
    })
}

//创建用人申请
export function createUsePersonApply(data) {
    return request({
        url: '/usePersonApply/add',
        method: 'post',
        data
    })
}

//撤销用人申请
export function cancelUsePersonApply(data) {
    return request({
        url: '/usePersonApply/cancel',
        method: 'post',
        data
    })
}